page.module.scss 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. .page {
  2. height: 100%;
  3. display: flex;
  4. .left {
  5. width: 0.9rem;
  6. box-sizing: border-box;
  7. height: 100%;
  8. overflow: auto;
  9. padding: 0.1rem 0.1rem 0.1rem 0.1rem;
  10. }
  11. .right {
  12. flex: 1;
  13. min-width: 0;
  14. padding: 0.1rem 0.1rem 0.2rem 0;
  15. overflow: auto;
  16. .rightBox {
  17. display: grid;
  18. grid-template-columns: repeat(3, auto);
  19. grid-gap: 5px;
  20. }
  21. }
  22. .gameCard {
  23. // aspect-ratio: 149/234;
  24. height: 1.2rem !important;
  25. :global(.adm-image) {
  26. height: 100% !important;
  27. }
  28. }
  29. .providerItem {
  30. background-color: #2b353f;
  31. border-radius: 0.1rem;
  32. display: flex;
  33. flex-direction: column;
  34. align-items: center;
  35. justify-content: center;
  36. width: 100%;
  37. margin-bottom: 0.1rem;
  38. height: 0.7rem;
  39. box-sizing: border-box;
  40. position: relative;
  41. overflow: hidden;
  42. &::before {
  43. content: "";
  44. position: absolute;
  45. left: 0;
  46. top: 0;
  47. right: 0;
  48. bottom: 0;
  49. background: #2b353f;
  50. z-index: 1;
  51. border-radius: 0.1rem;
  52. }
  53. &:after {
  54. content: "";
  55. position: absolute;
  56. left: 2px;
  57. top: 2px;
  58. right: 2px;
  59. bottom: 2px;
  60. background: #2b353f;
  61. z-index: 2;
  62. border-radius: 0.1rem;
  63. }
  64. &.active {
  65. &::before {
  66. background: linear-gradient(to bottom, #a6dfd4, #18bd73);
  67. }
  68. &::after {
  69. background: linear-gradient(45deg, #11994d, #178b5f);
  70. }
  71. }
  72. img {
  73. position: relative;
  74. z-index: 3;
  75. width: 0.4rem;
  76. }
  77. div {
  78. position: relative;
  79. z-index: 3;
  80. width: 100%;
  81. overflow: hidden;
  82. white-space: nowrap;
  83. text-overflow: ellipsis;
  84. text-align: center;
  85. font-weight: bold;
  86. }
  87. }
  88. }